﻿
namespace Kratos.Framework.ContentManagement.ViewModels
{
    /// <summary>
    /// 所有对EXT树数据绑定相关的json对象都要继承的抽象类
    /// </summary>
    public class node
    {
        public int id { get; set; }

        public string text { get; set; }

        public int parentId { get; set; }

        public bool leaf { get; set; }

        public string iconCls { get; set; }

        public int depth { get; set; }
    }

    public class MenuTree : node
    {
        //请求的url值
        public string url { get; set; }
        //自定义节点样式
        public string cls { get; set; }
    }
}
